package com.oa.framework.acc.account.domain;

import com.oa.framework.org.department.domain.Department;
import com.oa.framework.org.domain.Duty;
import lombok.Getter;
import lombok.Setter;

/**
 * 用户身份
 * @author cuichao
 */
@Getter
@Setter
public class AccountPrincipal {


    private Long principalId;

    private Long departmentId;

    private Long dutyId;

    /**
     * 用户的职务
     */
    private Duty duty;
    /**
     * 用户该身份所属的部门
     */
    private Department department;

}
